#include "UMLObject.h"

UMLObject::UMLObject(const BUMLSText& text)
:	_text(text)
{
}

UMLObject::~UMLObject()
{
	// just bein' virtual
}

UMLObject& UMLObject::operator=(const UMLObject& obj)
{
	_text = obj._text;

	notifyObservers();

	return *this;
}

const BUMLSText& UMLObject::text() const
{
	return _text;
}

void UMLObject::setText(const BUMLSText& text)
{
	_text = text;

	notifyObservers();
}

